package com.gxa.service.investment;

import com.github.pagehelper.PageInfo;
import com.gxa.dto.investmentDto.IntentionRegisterQuitDto;
import com.gxa.dto.investmentDto.IntentionRegisterQuitResult;
import com.gxa.dto.investmentDto.OccupancyRegisterQuitDto;
import com.gxa.entity.investment.IntentionRegister;
import com.gxa.entity.investment.OccupancyRegister;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;

/**
 * <p>
 * 入驻登记单 服务类
 * </p>
 *
 * @author yjl
 * @since 2022-10-17 03:04:36
 */
public interface OccupancyRegisterService extends IService<OccupancyRegister> {

    List<OccupancyRegister> seletAll();
    OccupancyRegister quitById(Integer id);
    //条件查询
    PageInfo<OccupancyRegister> queryByOccupancyRegisterQuitDto(OccupancyRegisterQuitDto occupancyRegisterQuitDto, Integer pageNum, Integer pageSize);
    //修改表的状态
    void updateToState(Integer id, Integer state);

    //单表
    void add(OccupancyRegister occupancyRegister);
}
